Summary:
Adds the `scrollMargin` property to IntersectionObserverInit, which factors into the intersection calculations.
Bug:
Specification:
Standards Body:
W3C
Platform coverage:
all.
Preference:
dom.intersection_observer.scroll_margin.enabled
DevTools bug:
N/A
Link to standards-positions discussion:
N/A
Other browsers:
web-platform-tests:
Over the coming weeks I intend to implement the `scrollMargin` property on IntersectionObserver. I aim to have this ready and enabled for the 141 milestone (June 19 soft freeze).